import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:get/get.dart';

extension StringExtend on String {
  Future toastInfo() => SmartDialog.showToast(this);

  SnackbarController snackbar() => Get.snackbar("", this);
}

Future toastDismiss() {
  return SmartDialog.dismiss(status: SmartStatus.toast);
}
